]> dgit.raspbian.org Git - gnome-shell.git/commit
quickSettings: Add getFirstItem() method
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 14 Aug 2023 22:13:34 +0000 (00:13 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 19 Aug 2023 23:54:09 +0000 (01:54 +0200)
commit96bf9e700f79457b73381f8d367d516723e2cb47
tree9fe0da59d49ac12072eb2956e6d386a2cc1fc510
parent30a36c970b52f03c92b3977abd087bb6eec53df9
quickSettings: Add getFirstItem() method

We will need some more access to the menu's underlying grid to
provide extension API for adding additional quick items.

Expose a new getFirstItem() method that (surprise!) returns the
first item.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2894>
js/ui/quickSettings.js